﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="settings.aspx.cs" Inherits="__admin_settings" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form runat="server">
    <octo:FormView runat="server">

        <octo:FormRow Label="Resource Latitude" Required="true" runat="server">
            <octo:InputNumber ID="Latitude" Min="-90" Max="90" Step="0.001" Required="true" runat="server" />
        </octo:FormRow>

		<octo:FormRow Label="Resource Longitude" Required="true" runat="server">
            <octo:InputNumber ID="Longitude" Min="-180" Max="180" Step="0.001" Required="true" runat="server" />
        </octo:FormRow>

        <octo:FormRow Label="Comments" runat="server">
            <asp:DropDownList ID="Comments" runat="server">
                <asp:ListItem Text="Anyone" Value="0"></asp:ListItem>
                <asp:ListItem Text="Authenticate only" Value="1"></asp:ListItem>
                <asp:ListItem Text="Disabled" Value="2"></asp:ListItem>
            </asp:DropDownList>
        </octo:FormRow>

        <octo:FormRow Label="Non Anonymous Ads Auto-Expire Days" Required="true" runat="server">
            <octo:InputNumber ID="AutoExpNonAnonDays" Required="true" Step="1" Min="0" Max="366" runat="server"/>
        </octo:FormRow>

        <octo:FormRow Label="Anonymous Ads Auto-Expire Days" Required="true" runat="server">
            <octo:InputNumber ID="AutoExpAnonDays" Required="true" Step="1" Min="0" Max="366"  runat="server"/>
        </octo:FormRow>

		<octo:FormRow runat="server">
            <octo:CheckBox ID="AnonAds" Text="Allow Anonymous Ads" runat="server"/>
        </octo:FormRow>
		
		<octo:FormRow runat="server">
            <octo:CheckBox ID="AdApprove" Text="Need To Approve Ads" runat="server" />
        </octo:FormRow>
		
		<octo:FormRow runat="server">
            <octo:CheckBox ID="RenewAds" Text="Allow Renew Ads" runat="server"/>
        </octo:FormRow>
		
        <octo:FormRow Label="Currency" runat="server">
            <asp:DropDownList ID="Currency" runat="server">
            
            </asp:DropDownList>
        </octo:FormRow>

        <octo:FormRow Label="Admin Email" runat="server">
            <octo:InputEmail ID="AdminMail" MaxLength="50" runat="server" />
        </octo:FormRow>
        
        <octo:FormRow ID="SubmitRow" runat="server">
            <octo:Submit OnClick="OnSubmitClick" ID="sub" runat="server" />
        </octo:FormRow>
	 </octo:FormView>
     </form>
</body>
</html>
